<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>DECO RPO</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="http://cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="css/login.css">
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body>
<div class="container">
    <div class="row">
        <div id="rrapp"  class="login" v-cloak>
            <form class="form-horizontal">
                <span class="heading">用户登录</span>
                <div v-if="error" class="alert alert-danger alert-dismissible">
                <h4 style="margin-bottom: 0px;"><i class="fa fa-exclamation-triangle"></i> {{errorMsg}}</h4>
                </div>
                <div class="form-group">
                    <input type="text" v-model="username"  class="form-control" id="inputEmail3" placeholder="账号">
                    <i class="fa fa-user"></i>
                </div>
                <div class="form-group ">
                    <input type="password" v-model="password"  class="form-control" id="inputPassword3" placeholder="密码">
                    <i class="fa fa-lock"></i>
                    <!--<a href="#" class="fa fa-question-circle"></a>-->
                </div>
                <div class="form-group has-feedback" v-if="errorNum > 2" >
                    <input type="text" class="form-control" v-model="captcha" @keyup.enter="login" placeholder="验证码">
                    <i class="fa fa-shield"></i>
                </div>
                <div class="form-group has-feedback" v-if="errorNum > 2" >
                    <img alt="如果看不清楚，请单击图片刷新！" class="pointer" :src="src" @click="refreshCode">
                    &nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;" @click="refreshCode">点击刷新</a>
                </div>
                <div class="form-group">
                    <div class="main-checkbox">
                        <input type="checkbox" value="None" id="checkbox1" name="check"/>
                        <label for="checkbox1"></label>
                    </div>
                    <span class="text">记住我</span>
                    <button type="button" class="btn btn-default" @click="login">立刻登录</button>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="libs/jquery.min.js"></script>
<script src="plugins/jqgrid/jquery.jqGrid.min.js"></script>
<script src="libs/vue.min.js"></script>
<script src="libs/bootstrap.min.js"></script>
<script src="libs/app.js"></script>
<script src="js/common.js"></script>
<script src="js/login.js"></script>
</body>
</html>
